<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改增量返现明细')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-zlCashDetails-edit" th:object="${zlCashDetails}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">代理编号：</label>
                <div class="col-sm-8">
                    <input name="agentNum" th:field="*{agentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">代理商名称：</label>
                <div class="col-sm-8">
                    <input name="agentName" th:field="*{agentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">1 团长 2 资深总监：</label>
                <div class="col-sm-8">
                    <select name="type" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">引流编号 type为1团长才有这个：</label>
                <div class="col-sm-8">
                    <input name="ylId" th:field="*{ylId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">同比增量累积了几个档次：</label>
                <div class="col-sm-8">
                    <input name="num" th:field="*{num}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">档次金额：</label>
                <div class="col-sm-8">
                    <input name="standard" th:field="*{standard}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">奖励比例：</label>
                <div class="col-sm-8">
                    <input name="award" th:field="*{award}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">税点：</label>
                <div class="col-sm-8">
                    <input name="tax" th:field="*{tax}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">税额：</label>
                <div class="col-sm-8">
                    <input name="taxMoney" th:field="*{taxMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">返现金额：</label>
                <div class="col-sm-8">
                    <input name="returnMoney" th:field="*{returnMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">税后返现金额：</label>
                <div class="col-sm-8">
                    <input name="returnTaxMoney" th:field="*{returnTaxMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">返现日期：</label>
                <div class="col-sm-8">
                    <input name="returnDate" th:field="*{returnDate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">0日返  1月返：</label>
                <div class="col-sm-8">
                    <input name="cycle" th:field="*{cycle}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">出款流水号：</label>
                <div class="col-sm-8">
                    <input name="settleSerial" th:field="*{settleSerial}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">同比增量累积了几个档次 * 档次金额：</label>
                <div class="col-sm-8">
                    <input name="leiMoney" th:field="*{leiMoney}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "zlCashDetails/zlCashDetails";
        $("#form-zlCashDetails-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-zlCashDetails-edit').serialize());
            }
        }
    </script>
</body>
</html>